package com.imooc.restaurant.dao;

import com.imooc.restaurant.po.ProductPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ProductDao {
    @Select("select id,name , price,status,restaurant_id,date from product where id = #{productId}")
    ProductPO selectProduct(Integer productId);
}
